import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { ThemeSharedModule } from '@abp/ng.theme.shared';
import { ShopsComponent } from './shops.component';
import { RouterModule } from '@angular/router';
import { NgbModalModule } from '@ng-bootstrap/ng-bootstrap';
import { SharedModule } from '../shared/shared.module';

@NgModule({
  declarations: [
    // ShopsComponent 是独立组件，不需要在这里声明
  ],
  imports: [
    CommonModule,
    FormsModule,
    ReactiveFormsModule,
    ThemeSharedModule,
    NgbModalModule,
    SharedModule,
    RouterModule.forChild([
      {
        path: '',
        component: ShopsComponent
      }
    ])
  ]
})
export class ShopModule { } 